package com.ct.application.shipping.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ct.application.commons.vo.StatusRequest;
import com.ct.application.shipping.model.po.ChuanYuanKuDongTaiSavePO;
import com.ct.application.shipping.model.po.ChuanYuanKuDongTaiSearchPO;
import com.ct.application.shipping.model.vo.ChuanYuanKuDongTaiVO;
import com.ct.repository.commons.IBaseService;
import com.ct.shipping.model.ChuanYuanKuDongTaiMapperSearchPO;
import com.ct.shipping.model.ChuanYuanKuDongTaiMapperVO;
import com.ct.shipping.orm.ChuanYuanKuDongTaiDO;

/**
 * <p>
 * 船员库动态记录 服务类
 * </p>
 *
 * @author carlo
 */
public interface ChuanYuanKuDongTaiService extends IBaseService<ChuanYuanKuDongTaiDO> {

    IPage<ChuanYuanKuDongTaiMapperVO> findDongTai(ChuanYuanKuDongTaiMapperSearchPO searchPO);


    Page<ChuanYuanKuDongTaiVO> findChuanYuanKuDongTai(ChuanYuanKuDongTaiSearchPO searchPO);

    boolean saveChuanYuanKuDongTai(ChuanYuanKuDongTaiSavePO savePO);

    ChuanYuanKuDongTaiVO getChuanYuanKuDongTai(Long id);

    boolean updateChuanYuanKuDongTai(ChuanYuanKuDongTaiSavePO savePO);

    boolean delChuanYuanKuDongTai(Long id);

    boolean updateStatus(StatusRequest statusRequest);
}
